//
// Created by Rory on 2020/10/23.
//

#define GENERATE_TEST_FUNC_SIGNATURE
#include "../common.h"

TestFunc(SimpleStringMatch){
    String mainStr = {
            "#ggofdfdogooglege",
            16
    };
    String pattern = {
            "#google",
            6
    };

    int location = SimpleStringMatch(&mainStr,&pattern);
    printf("\nMatchResult:%d\n",location);
}

int main(){
    InvokeFunc(SimpleStringMatch);

    return 0;
}
